package com.hotel.customersystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.utils.ResultVo;
import com.hotel.couponsystem.pojo.CouponStock;
import com.hotel.customersystem.pojo.CustomerOrder;
import com.hotel.customersystem.pojo.CustomerOrderDetailVo;
import com.hotel.customersystem.pojo.CustomerOrderDetailVo;
import com.hotel.hotelsystem.pojo.RoomInfo;
import com.hotel.hotelsystem.pojo.TenantList;

import java.util.List;
import java.util.Map;

/**
 * (CustomerOrder)表服务接口
 *
 * @author makejava
 * @since 2022-09-30 16:21:28
 */
public interface CustomerOrderService extends IService<CustomerOrder> {
    String saveOrder(CustomerOrder customerOrder, RoomInfo roomInfo, List<TenantList> tenantList);
    List<CustomerOrder> getOrderList(Integer userId);
    CustomerOrderDetailVo getOrderDetail(CustomerOrderDetailVo orderVo);
    Integer orderDelayChangeStatus(String orderNo);
    //  订单的分页查询
    IPage<CustomerOrder> selectByPage(Integer userId,Integer currentPage, Integer pageSize);
}

